  <div class="wrap bw" style="padding-top:8px"> 
   <div class="topic-head userTopicFix"> 
    <div class="user-ico fl"> 
     <router-link :to="{ name: 'user/home', params: { user_id: item.user_id }}"> 
      <img :src="item.user.avatarUrl" />
     </router-link> 
    </div> 
    <div class="user-info fl"> 
     <span class="fs-12">{{item.user.nickname}}</span> 
     <br />
     <span class="light-color fs-10">{{item.addtime}} 发布</span> 
    </div> 
    <div class="clearfix"></div> 
   </div> 
   <div class="clearfix"></div>
  </div>
  <div class="page-content"> 
   <div class="wrap" style="margin-top:41px"> 
    <!-- 参与活动列表 --> 
    <div class="topic-detail"> 
     <div class="topic-one bw" style="padding-top:0px"> 
      <div class="topic-content "> 
       <div  class="img-text fs-14" style="padding-bottom:0px">{{item.title}}
 		<span class='green' v-if="item.vote_data.choice==2">[多选]</span>
        <span class='green' v-if="item.vote_data.choice==1">[单选]</span>
        </div>
       
        <div>{{item.desc}}</div> 

       <div class="img-list" v-if="item.pics && item.pics.length>0"> 
        <template v-for="image in item.pics"> 
         <img v-on:click="predivImage($event)" :src="image+'?imageMogr2/thumbnail/1000x'" /> 
        </template> 
       </div> 
      </div> 

      <!-- 投票选项 -->
     <div class="options">
    
      <div class='options-item'  v-for="vote in item.vote_data.options">
        <div class="options-content" @click='dovote(vote.id)'>
        <div class='options-title'>{{vote.text}}<span v-if="vote.choose" >✔</span></div>
        <div class='options-info'>{{vote.count}}票 {{vote.percentage}}%</div>
        <div class='clear'></div>
        </div>
         <div class="options-line" :style="'width:'+vote.percentage+'%'"></div>
          <div class="options-user-list images">
		         <img  v-for="user in vote.userList"  :src='user.avatarUrl' />
          </div>

      </div>
	 
    </div>
    <!-- 投票选项 --> 
  <div class="light  p pd10 mgt5">投票截止 {{item.vote_data.end_date}}</div>

      <!-- 点赞人数 --> 
      <div :class="item.good_count >0?'topic-act':'topic-act none' " id="goodListDiv"> 
       <template v-for="image in goodlist"> 
        <img v-if="image && image.avatarUrl" :src="image.avatarUrl" :data-id="image.user_id" /> 
       </template> 
       <span class="light-color-2">等 <font class="red" v-if="item.good_count<99">{{item.good_count}}</font> <font class="red" v-if="item.good_count>99">99+</font> 人点赞</span> 
      </div> 
      <!-- 点赞人数 --> 
     </div> 
    </div> 
    <!-- 参与活动列表 --> 
    <!-- 评论列表 --> 
    <div class="comment-list bw" v-if="commentList.length"> 
     <div class="comment-title">
      评论（{{item.comment_count}}）
     </div> 
     <div class="comment-one" :data-id="vo.id" :data-user-id="vo.user_id" :data-nickname="vo.nickname" v-on:click="handle($event)" v-for="vo in commentList"> 
      <div class="comment-head"> 
       <div class="user-ico fl" style="margin-top:4px"> 
        <img :src="vo.avatarUrl" /> 
       </div> 
       <div class="user-info fl" style="margin-top:7px"> 
        <span class="fs-12">{{vo.nickname}}  </span> 
       </div> 
       <div class="topic-share fr">
        <span class="light-color fs-10">{{vo.time_tran}}</span>
       </div> 
       <div class="clearfix"></div> 
      </div> 
      <div class="comment-content"> 
       <template v-if="vo.comment">
        <a>@{{vo.comment.user.nickname}}</a>
       </template>
       <span v-html="vo.content"></span>
      </div> 
     </div> 
    </div> 
   </div> 
   <div style="height:80px"></div>
  </div> 
  <!-- 我要参与 -->
  <div class="bottom-fixed"> 
   <div class=""> 
    <ul class="fl topic-bnts" style="margin-top:5px;"> 
     <li :data-id="item.id" v-on:click="add_goods(item.id)"> 
      <div :class="item.thumb_up_ed?'active':''">
       <i class="ico-goods"></i> 
       <span class="good_text">{{good_text}}</span> 
      </div> </li> 
     <li v-on:click="showAddComment('add')"> <i class="ico ico_comment" style=" margin-top: 0px;    width: 18px;height: 18px; margin-left: 3px; margin-bottom: 3px"></i> <br /><span>留言</span></li> 
     <li class="delete" v-if="user_info.user_id == item.user_id &amp;&amp; item.is_best !=1" v-on:click="delTopic($event)"> <i class="ico ico_delete" style=" margin-top: 0px;    width: 18px;height: 18px; margin-left: 3px; margin-bottom: 3px"></i> <br /><span>删除</span></li> 
    </ul> 
    
    <div class="fr" v-if="item.type=='todolist'"> 
      <!-- 物业公司或物业管理员 -->
    <template v-if="user_info.tenement_type.company || user_info.tenement_type.employee"> 
        <div :class="item.status==2?'disable':''"> 
        <div class="join-btn" v-on:click="showAddComment('updateStatus')"> 
          <div class="btn publish-btn"> 
          <template v-if="item.status==1">
              接受处理
             </template> 
             <template v-else-if="item.status==2">
              完成处理
             </template> 
             <template v-else="">
              已完成
             </template> 
            </div> 
         </div> 
        </div> 
      </template> 
<!-- 业主 -->
       <template v-else-if="item.user_id == user_info.user_id"> 
        <div class="disable">
         <div class="join-btn">
          <div class="btn publish-btn"> 
           <template v-if="item.status==1">
            待处理
           </template> 
           <template v-else-if="item.status==2">
            已接受处理
           </template> 
           <template v-else-if="item.status==3">
            已完成
           </template> 
           <template v-else="">
            已关闭
           </template> 
          </div>
         </div>
        </div> 
       </template> 
    </div> 
   
    <div class="fr" v-else-if="item.user_id == user_info.user_id">
        <router-link  :to="{ name: 'vote/add', params: { topic_id:item.id,community_id:0 }}"  class="join-btn" > <div class="btn publish-btn">编辑</div></router-link>
     </div>

     <div class="fr"  v-else>
       <div class="join-btn" v-on:click="showAddComment('add')"> <div class="btn publish-btn">评论</div></div>
     </div>

   </div>
  </div>
